/**
 * Created by James.Owen on 13/01/14.
 */

$(document).ready(function() {


    $('.flexslider').flexslider({
        animation: "slide",
        prevText: "Prev",
        nextText: "Next"
    });

    var pixelRatio = window.devicePixelRatio;
    var ajax = $.ajax({
        url: '/gallery',
        type: 'POST',
        dataType: 'json',
        data: {device:pixelRatio}
    });
    return false;
});